/*
 * Scene.h
 *
 *  Created on: Oct 26, 2012
 *      Author: Bhupendra Aole
 */

#ifndef SCENE_H_
#define SCENE_H_

#include <string>
#include <vector>
#include "DXObject.h"
#include "tinyxml/tinyxml.h"
#include "DXEngine.h"

using namespace std;

class Scene {
private:
	string name;
	vector <aole::DXObject*> objects;

	void createNode( TiXmlNode* node, aole::DXEngine* engine  );

public:
	Scene( string n );
	string getName() { return name; }
	void load( aole::DXEngine* engine  );
	void render( aole::DXEngine* engine);
	~Scene() { objects.clear(); }
};

#endif /* SCENE_H_ */
